package com.ant.business.system.entity;

import com.ant.common.base.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 单位管理
 *
 * @author LB
 * @description LB
 * @create 2021-03-22 14:25:56
 **/
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_unit")
@Data
@ApiModel(value = "单位管理")
public class Unit extends BaseDomain {

    /**
     * 单位编号
     */
    @TableId(value = "unit_id", type = IdType.AUTO)
    @ApiModelProperty("单位编号")
    private Integer unitId;

    /**
     * 单位名称
     */
    @TableField(value = "unit_name")
    @ApiModelProperty("单位名称")
    private String unitName;

    /**
     * 联系人
     */
    @TableField(value = "linkman")
    @ApiModelProperty("联系人")
    private String linkman;

    /**
     * 联系电话
     */
    @TableField(value = "tel_no")
    @ApiModelProperty("联系电话")
    private String telNo;

    /**
     * 状态
     */
    @TableField(value = "status")
    @ApiModelProperty("状态")
    private Integer status;


    /**
     * 删除标志
     */
    @TableField(value = "delete_flag")
    @ApiModelProperty("删除标志")
    private Integer deleteFlag;
}